package com.jcfk.eam.dao.main;

import com.jcfk.common.business.dao.BaseDao;
import com.jcfk.common.web.domain.DataPage;
import com.jcfk.eam.domain.dto.main.EamInspectionTaskDTO;
import com.jcfk.eam.domain.po.main.EamInspectionTask;
import com.jcfk.eam.domain.query.main.EamInspectionTaskQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
 * 巡检任务
 *
 * @author libinghai
 * @email 35738025@gqq.com
 * @date 2024-12-04
 */
@Repository
public interface EamInspectionTaskDao extends BaseDao<EamInspectionTask> {
    /**
     * 巡检任务分页查询
     *
     * @param page
     * @param query
     * @return
     */
    DataPage<EamInspectionTaskDTO> queryByPage(@Param("page") DataPage<EamInspectionTaskDTO> page, @Param("query") EamInspectionTaskQuery query);

    /**
     * 获取巡检任务查看信息
     * @param query
     * @return
     */
    EamInspectionTaskDTO getView(@Param("query") EamInspectionTaskQuery query);
}
